{ "swagger": "2.0", "info": { "title": "abhi", "version": "v1" }, "paths": { "/api/Blogs": { "get": { "tags": [ "Blogs" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Blog" } } } } }, "post": { "tags": [ "Blogs" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Blog" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Blogs/{id}": { "delete": { "tags": [ "Blogs" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Blog" } } } } }, "put": { "tags": [ "Blogs" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Blog" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Blog" } } } } } }, "/api/Certificate": { "get": { "tags": [ "Certificate" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Certificate" } } } } }, "post": { "tags": [ "Certificate" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Certificate" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Certificate/{id}": { "delete": { "tags": [ "Certificate" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Certificate" } } } } }, "put": { "tags": [ "Certificate" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Certificate" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Certificate" } } } } } }, "/api/Course": { "get": { "tags": [ "Course" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Course" } } } } }, "post": { "tags": [ "Course" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Course" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Course/{id}": { "delete": { "tags": [ "Course" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Course" } } } } }, "put": { "tags": [ "Course" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Course" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Course" } } } } } }, "/api/CourseResource": { "get": { "tags": [ "CourseResource" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CourseResource" } } } } }, "post": { "tags": [ "CourseResource" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/CourseResource" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/CourseResource/{id}": { "delete": { "tags": [ "CourseResource" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CourseResource" } } } } }, "put": { "tags": [ "CourseResource" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/CourseResource" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CourseResource" } } } } } }, "/api/Creators": { "get": { "tags": [ "Creators" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Creator" } } } } }, "post": { "tags": [ "Creators" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Creator" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Creators/{id}": { "delete": { "tags": [ "Creators" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Creator" } } } } }, "put": { "tags": [ "Creators" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Creator" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Creator" } } } } } }, "/api/CtcReg": { "get": { "tags": [ "CtcReg" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CtcReg" } } } } }, "post": { "tags": [ "CtcReg" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/CtcReg" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/CtcReg/{id}": { "delete": { "tags": [ "CtcReg" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CtcReg" } } } } }, "put": { "tags": [ "CtcReg" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/CtcReg" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/CtcReg" } } } } } }, "/api/FreeResource": { "get": { "tags": [ "FreeResource" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/FreeResource" } } } } }, "post": { "tags": [ "FreeResource" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/FreeResource" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/FreeResource/{id}": { "delete": { "tags": [ "FreeResource" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/FreeResource" } } } } }, "put": { "tags": [ "FreeResource" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/FreeResource" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/FreeResource" } } } } } }, "/api/Notes": { "get": { "tags": [ "Notes" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Note" } } } } }, "post": { "tags": [ "Notes" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Note" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Notes/{id}": { "delete": { "tags": [ "Notes" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Note" } } } } }, "put": { "tags": [ "Notes" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Note" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Note" } } } } } }, "/api/Option": { "get": { "tags": [ "Option" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Option" } } } } }, "post": { "tags": [ "Option" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Option" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Option/{id}": { "delete": { "tags": [ "Option" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Option" } } } } }, "put": { "tags": [ "Option" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Option" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Course" } } } } } }, "/api/Points": { "get": { "tags": [ "Points" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Point" } } } } }, "post": { "tags": [ "Points" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Point" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Points/{id}": { "delete": { "tags": [ "Points" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Point" } } } } }, "put": { "tags": [ "Points" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Point" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Point" } } } } } }, "/api/Qa": { "get": { "tags": [ "Qa" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Qa" } } } } }, "post": { "tags": [ "Qa" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Qa" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Qa/{id}": { "delete": { "tags": [ "Qa" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Qa" } } } } }, "put": { "tags": [ "Qa" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Qa" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Qa" } } } } } }, "/api/Review": { "get": { "tags": [ "Review" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Review" } } } } }, "post": { "tags": [ "Review" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Review" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Review/{id}": { "delete": { "tags": [ "Review" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Review" } } } } }, "put": { "tags": [ "Review" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Review" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Review" } } } } } }, "/api/SkillQuiz": { "get": { "tags": [ "SkillQuiz" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/SkillQuiz" } } } } }, "post": { "tags": [ "SkillQuiz" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/SkillQuiz" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/SkillQuiz/{id}": { "delete": { "tags": [ "SkillQuiz" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/SkillQuiz" } } } } }, "put": { "tags": [ "SkillQuiz" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/SkillQuiz" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/SkillQuiz" } } } } } }, "/api/StatusofLearner": { "get": { "tags": [ "StatusofLearner" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/StatusOfLearner" } } } } }, "post": { "tags": [ "StatusofLearner" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/StatusOfLearner" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/StatusofLearner/{id}": { "delete": { "tags": [ "StatusofLearner" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/StatusOfLearner" } } } } }, "put": { "tags": [ "StatusofLearner" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/StatusOfLearner" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/StatusOfLearner" } } } } } }, "/api/Submission": { "get": { "tags": [ "Submission" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Submission" } } } } }, "post": { "tags": [ "Submission" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Submission" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Submission/{id}": { "delete": { "tags": [ "Submission" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Submission" } } } } }, "put": { "tags": [ "Submission" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Submission" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Submission" } } } } } }, "/api/Training": { "get": { "tags": [ "Training" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Training" } } } } }, "post": { "tags": [ "Training" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Training" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/Training/{id}": { "delete": { "tags": [ "Training" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Training" } } } } }, "put": { "tags": [ "Training" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/Training" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/Training" } } } } } }, "/api/UserDetails": { "get": { "tags": [ "UserDetails" ], "produces": [ "text/plain", "application/json", "text/json" ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/UserDetail" } } } } }, "post": { "tags": [ "UserDetails" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/UserDetail" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/UserDetails/{id}": { "delete": { "tags": [ "UserDetails" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/UserDetail" } } } } }, "put": { "tags": [ "UserDetails" ], "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "text/plain", "application/json", "text/json" ], "parameters": [ { "in": "path", "name": "id", "required": true, "type": "integer", "format": "int32" }, { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/UserDetail" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/UserDetail" } } } } } } }, "definitions": { "Blog": { "type": "object", "properties": { "blogId": { "format": "int32", "type": "integer" }, "topic": { "type": "string" }, "dateOfUpload": { "format": "date-time", "type": "string" }, "image": { "format": "byte", "type": "string" }, "createdBy": { "format": "int32", "type": "integer" }, "description": { "type": "string" }, "blogCategory": { "type": "string" } }, "additionalProperties": false }, "Certificate": { "type": "object", "properties": { "cid": { "format": "int32", "type": "integer" }, "cname": { "format": "int32", "type": "integer" }, "duration": { "type": "string" }, "projects": { "type": "string" }, "videos": { "format": "byte", "type": "string" }, "image": { "format": "byte", "type": "string" }, "category": { "type": "string" }, "keySkills": { "type": "string" }, "description": { "type": "string" }, "howItWorks": { "type": "string" }, "syllabus": { "type": "string" }, "faqQues": { "type": "string" }, "faqAns": { "type": "string" } }, "additionalProperties": false }, "Course": { "type": "object", "properties": { "courseId": { "format": "int32", "type": "integer" }, "courseName": { "type": "string" }, "courseProvider": { "type": "string" }, "image": { "format": "byte", "type": "string" }, "rating": { "format": "int32", "type": "integer" }, "createdBy": { "format": "int32", "type": "integer" } }, "additionalProperties": false }, "CourseResource": { "type": "object", "properties": { "courseId": { "format": "int32", "type": "integer" }, "video": { "format": "byte", "type": "string" }, "thumbnail": { "format": "byte", "type": "string" }, "description": { "type": "string" }, "review": { "type": "string" }, "resources": { "type": "string" } }, "additionalProperties": false }, "Creator": { "type": "object", "properties": { "creatorId": { "format": "int32", "type": "integer" }, "creatorName": { "type": "string" }, "creatorImage": { "format": "byte", "type": "string" }, "description": { "type": "string" }, "creatorJob": { "type": "string" }, "followers": { "type": "string" } }, "additionalProperties": false }, "CtcReg": { "type": "object", "properties": { "userId": { "format": "int32", "type": "integer" }, "courseId": { "format": "int32", "type": "integer" }, "tid": { "format": "int32", "type": "integer" }, "cid": { "format": "int32", "type": "integer" } }, "additionalProperties": false }, "FreeResource": { "type": "object", "properties": { "freeRid": { "format": "int32", "type": "integer" }, "title": { "type": "string" }, "category": { "type": "string" }, "providedBy": { "format": "int32", "type": "integer" }, "downloads": { "format": "int32", "type": "integer" }, "description": { "type": "string" }, "thumbnail": { "format": "byte", "type": "string" }, "book": { "type": "string" }, "template": { "type": "string" }, "video": { "format": "byte", "type": "string" } }, "additionalProperties": false }, "Note": { "type": "object", "properties": { "userId": { "format": "int32", "type": "integer" }, "category": { "type": "string" }, "description": { "type": "string" } }, "additionalProperties": false }, "Option": { "type": "object", "properties": { "qid": { "format": "int32", "type": "integer" }, "op1": { "type": "string" }, "op2": { "type": "string" }, "op3": { "type": "string" }, "op4": { "type": "string" }, "ans": { "type": "string" } }, "additionalProperties": false }, "Point": { "type": "object", "properties": { "uid": { "format": "int32", "type": "integer" }, "qid": { "format": "int32", "type": "integer" }, "points": { "format": "int32", "type": "integer" }, "date": { "format": "date-time", "type": "string" } }, "additionalProperties": false }, "Qa": { "type": "object", "properties": { "qid": { "format": "int32", "type": "integer" }, "question": { "type": "string" }, "hint": { "type": "string" }, "quizId": { "format": "int32", "type": "integer" } }, "additionalProperties": false }, "Review": { "type": "object", "properties": { "description": { "type": "string" }, "userId": { "format": "int32", "type": "integer" }, "courseId": { "format": "int32", "type": "integer" }, "tid": { "format": "int32", "type": "integer" } }, "additionalProperties": false }, "SkillQuiz": { "type": "object", "properties": { "quizId": { "format": "int32", "type": "integer" }, "subject": { "type": "string" }, "topic": { "type": "string" }, "thumbnail": { "format": "byte", "type": "string" } }, "additionalProperties": false }, "StatusOfLearner": { "type": "object", "properties": { "userId": { "format": "int32", "type": "integer" }, "courseId": { "format": "int32", "type": "integer" }, "courseCompletion": { "format": "int32", "type": "integer" } }, "additionalProperties": false }, "Submission": { "type": "object", "properties": { "tid": { "format": "int32", "type": "integer" }, "userid": { "format": "int32", "type": "integer" }, "work": { "type": "string" } }, "additionalProperties": false }, "TimeSpan": { "type": "object", "properties": { "ticks": { "format": "int64", "type": "integer" }, "days": { "format": "int32", "type": "integer", "readOnly": true }, "hours": { "format": "int32", "type": "integer", "readOnly": true }, "milliseconds": { "format": "int32", "type": "integer", "readOnly": true }, "microseconds": { "format": "int32", "type": "integer", "readOnly": true }, "nanoseconds": { "format": "int32", "type": "integer", "readOnly": true }, "minutes": { "format": "int32", "type": "integer", "readOnly": true }, "seconds": { "format": "int32", "type": "integer", "readOnly": true }, "totalDays": { "format": "double", "type": "number", "readOnly": true }, "totalHours": { "format": "double", "type": "number", "readOnly": true }, "totalMilliseconds": { "format": "double", "type": "number", "readOnly": true }, "totalMicroseconds": { "format": "double", "type": "number", "readOnly": true }, "totalNanoseconds": { "format": "double", "type": "number", "readOnly": true }, "totalMinutes": { "format": "double", "type": "number", "readOnly": true }, "totalSeconds": { "format": "double", "type": "number", "readOnly": true } }, "additionalProperties": false }, "Training": { "type": "object", "properties": { "tid": { "format": "int32", "type": "integer" }, "description": { "type": "string" }, "video": { "format": "byte", "type": "string" }, "image": { "format": "byte", "type": "string" }, "tname": { "type": "string" }, "category": { "type": "string" }, "logo": { "format": "byte", "type": "string" }, "createdBy": { "format": "int32", "type": "integer" }, "duration": { "$ref": "#/definitions/TimeSpan" }, "resources": { "type": "string" } }, "additionalProperties": false }, "UserDetail": { "type": "object", "properties": { "userId": { "format": "int32", "type": "integer" }, "userName": { "type": "string" }, "password": { "type": "string" }, "email": { "type": "string" }, "dob": { "format": "date-time", "type": "string" }, "gender": { "type": "string" }, "mobileNo": { "format": "int64", "type": "integer" } }, "additionalProperties": false } } }